<template>
  <div class="box">
      <img src="../assets/dog.jpg" alt="" class="img">
      <p>这是一只孤独可怜的狗狗</p>
  </div>
</template>

<script>
export default {

}
</script>

<style>
   .box {
       width: 300px;
       float: left;
       border: 1px solid #000;
       text-align: center;
   }
   .img {
       width: 100%;

   }
</style>